package com.albaba.designpattern.proxy.text_001;

/**
 * @Description: TODO
 * @Author zx
 * @Date 2025/2/20 11:42
 * @Version 1.0
 */
public class TextProxy {

    public static void main(String[] args) {
        // 目标类
        UserDaoImpl userDao = new UserDaoImpl();

        UserDaoProxy userDaoProxy = new UserDaoProxy(userDao);

        userDaoProxy.save();
    }

}
